package com.skyline.attraction.dao;

import com.skyline.attraction.type.RatyType;

public interface RatyDao {
	/**
	 * 
	 * @param targetId
	 * @param type
	 * @param userId
	 * @param ratyStar
	 */
	public void insertRaty(Long targetId, RatyType type, Long userId, Integer ratyStar);

	/**
	 * 
	 * @param targetId
	 * @param type
	 * @param userId
	 * @return
	 */
	public Integer countUserRaty(Long targetId, RatyType type, Long userId);

}
